package com.wtwd.campus.service;

import com.wtwd.campus.entity.Notification;
import com.wtwd.campus.entity.NotificationVO;

import java.security.acl.NotOwnerException;
import java.util.List;
import java.util.Map;

public interface NotificationService {
   Map<String,Object> getNotificationByCondition(NotificationVO data);

   Map<String,Object> getSchoolAndGradeMessByClassId(Integer classes);

   int addNotification(Notification data);

   int addNotificationWx(Notification data);

   Notification getNotificationById(Integer id);

   Long getLatestNotificationTimeByClassId(Integer classId);

   List<Notification> getNotificationByTimeAndClassId(Integer classId,Long time,Integer count);
}
